Kanzi 4.0.0-beta2
kanzi::gfx::RenderResourceSetCreateInfo Struct Reference

Creation information for a set of render resources used by a shader program. More...

#include <kanzi/gfx/create_info.hpp>

Inheritance diagram for kanzi::gfx::RenderResourceSetCreateInfo:
[legend]

Public Types

using HandleType
 Render resource set handle.
 

Public Attributes

RenderPipelineHandleGuard renderPipeline
 A render pipeline for the resource set.
 
uint32_t setIndex
 The index of the set belonging to the render pipeline that this resource set uses.
 
- Public Attributes inherited from kanzi::gfx::ResourceSetCreateInfo
VectorMap< string, ImageViewimageViews
 Mapping of a string identifier from the shader and an image view.
 
VectorMap< string, Samplersamplers
 Mapping of a string identifier from the shader and a sampler.
 
VectorMap< string, BufferViewstorageBufferViews
 Mapping of a string identifier from the shader and a storage buffer view.
 
VectorMap< string, TexelBufferViewtexelBufferViews
 Mapping of a string identifier from the shader and a texel or image buffer view.
 
VectorMap< string, BufferViewuniformBufferViews
 Mapping of a string identifier from the shader and a uniform buffer view.
 
- Public Attributes inherited from kanzi::gfx::BaseCreateInfo
string_view name
 The name of the graphics object, useful for debugging.
 

Detailed Description

Creation information for a set of render resources used by a shader program.

The set represents the unit of binding for resources.

Since
Kanzi 4.0.0

Member Typedef Documentation

◆ HandleType

Member Data Documentation

◆ renderPipeline

RenderPipelineHandleGuard kanzi::gfx::RenderResourceSetCreateInfo::renderPipeline

A render pipeline for the resource set.

This only limits the usage of the render resource set to pipelines that are compatible with the provided pipeline. It does not require the exact pipeline for all usage.

◆ setIndex

uint32_t kanzi::gfx::RenderResourceSetCreateInfo::setIndex

The index of the set belonging to the render pipeline that this resource set uses.


The documentation for this struct was generated from the following file: